/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import javax.ejb.Singleton;
import javax.ejb.LocalBean;

/**
 *
 * @author Mickey
 */
@Singleton
@LocalBean
public class PreviousPageBean {

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
    private String previous;
    private String next;

    public String getPrevious() {
        return previous;
    }
    
    public void setPrevious(String previous) {
        this.previous = previous;
    }
    
    public String getNext() {
        return next;
    }

    public void setNext(String next) {
        this.previous = this.next;
        this.next = next;
    }
    
}
